﻿@model IEnumerable<Contoso.ViewModels.EnrollmentDataGroup>
@{
    ViewBag.Title = "Home Page";
}
<h2>@ViewBag.Message</h2>
<p>
    Student Body Statistics.
</p>
<table>
    <tr>
        <td>
            Enrollement Date
        </td>
        <td>
            Students
        </td>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayTextFor(info => item.EnrollmentDate)
            </td>
            <td>
                @Html.DisplayTextFor(info => item.StudentCount)
            </td>
        </tr>
       
    }
</table>
